package com.one.group.admin;


import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * {@code @Create:}  2025-09-28  14 : 55
 * {@code @Author:} Cherry
 * {@code @ToUser:} 凡是发生,皆有利于我。
 * ------------------------------------
 * {@code @note:}
 */
@SpringBootApplication
//开启事务支持
@EnableTransactionManagement
@MapperScan(basePackages = {"com.one.group.admin.mapper"})
@ComponentScan(basePackages = {"com.one.group"})
@EnableDubbo//开启dubbo支持
public class AdminApplication {


    public static void main(String[] args) {

        SpringApplication.run(AdminApplication.class, args);

    }

}
